package com.xuxueli.applyModules.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @auther 你是最强者
 * @create 2022-03-07 10:56:16
 * @describe 用户图标实体类
 */
@Data
@TableName("user_icon")
@ApiModel(value="UserIcon对象", description="用户图标")
public class UserIcon implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "学号")
    @TableField("account")
    private String account;

    @ApiModelProperty(value = "图标")
    @TableField(value = "icon")
    private byte[] icon;




}